﻿using System;
using System.Collections.Generic;
using Kaiser.Models;
using Kaiser.Models.InputModels;

namespace Kaiser.Services
{
    public interface IPermissionService
    {
        Permission GetItem(Guid permissionId);
        Permission GetItem(string permissionName);
        List<Permission> GetList();
        void Save(PermissionInput permissionInput);
        void Save(IEnumerable<PermissionInput> permissions);
        bool Remove(Guid permissionId);
        bool Remove(IEnumerable<Guid> iDs);
        //bool Move(Guid permissionID, MovingTarget target);
    }
}
